Repository navigation
docs(core): add bm-log, bm-open, bm-review pages and hosted bm_project info/usage (#1987) - #1995
Conversation
…roject info/usage (#1987) The hosted server registers bm_log, bm_open and bm_review, but the bundled manual had no pages for them, so bm_man returned NOT_FOUND. Add hand-written pages following bm-agent(3), list the tools in PAGES_WITHOUT_LOCAL_TOOLS, and describe the hosted-only info and usage commands in bm-project(3) DESCRIPTION. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
I, Drew Cain <groksrc@gmail.com>, hereby add my Signed-off-by to this commit: 17be5fa Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Drew Cain <groksrc@gmail.com>
groksrc
left a comment
There was a problem hiding this comment.
Review verdict: changes required\n\nThe manual-page structure and continuous integration checks are sound, but two hosted behaviors are not documented accurately.\n\n## Blocking findings\n\n1. limits to , , and optional . The current hosted tool also accepts for . It saves that text as the reason and the first reply on the suggestion thread. Update the parameter description and the command description at lines 47–48. Add to the suggestion example, or otherwise show this behavior. This hosted behavior landed after the initial implementation, so the new page has already drifted from the tool it documents.\n\n2. does not state the hosted default for . The registry-owned PARAMETERS block at line 70 says the default is , but hosted uses the current billing period when is omitted. State that override in the hosted-only DESCRIPTION paragraph so the page does not give the wrong default for this command.\n\n## Verified\n\n- The pull request changes the six intended files and no unrelated files.\n- The and parameter names and defaults match their current hosted signatures.\n- The parameter names and defaults match its current hosted signature, apart from the semantic drift above.\n- contains the expected six hosted-only tools.\n- The registry-owned SYNOPSIS and PARAMETERS blocks are unchanged.\n- All 43 GitHub checks pass, including the Tests workflow, CodeQL, Developer Certificate of Origin, and contributor license agreement checks.\n- reports no errors.\n\nNext: update the manual text on this branch, keep the checks green, remove during the author hand-back, and request another review.\n\n
groksrc
left a comment
There was a problem hiding this comment.
Corrected review: changes required
The preceding review lost its inline-code text during submission. This review contains the complete findings and is authoritative.
The manual-page structure and continuous integration checks are sound, but two hosted behaviors are not documented accurately.
Blocking findings
-
src/basic_memory/man/man3/bm-review(3).md:31limitsbodytocomment,reply, and optionalresolve. The current hostedbm_reviewtool also acceptsbodyforsuggest. It saves that text as the reason and the first reply on the suggestion thread. Update the parameter description and thesuggestcommand description at lines 47–48. Addbodyto the suggestion example, or otherwise show this behavior. This hosted behavior landed after the initial implementation, so the new page has already drifted from the tool it documents. -
src/basic_memory/man/man3/bm-project(3).md:47does not state the hostedusagedefault forsince. The registry-owned PARAMETERS block at line 70 says the default is"7d", but hostedusageuses the current billing period whensinceis omitted. State that override in the hosted-only DESCRIPTION paragraph so the page does not give the wrong default for this command.
Verified
- The pull request changes the six intended files and no unrelated files.
- The
bm_logandbm_openparameter names and defaults match their current hosted signatures. - The
bm_reviewparameter names and defaults match its current hosted signature, apart from the semantic drift above. PAGES_WITHOUT_LOCAL_TOOLScontains the expected six hosted-only tools.- The registry-owned
bm-project(3)SYNOPSIS and PARAMETERS blocks are unchanged. - All 43 GitHub checks pass, including the Tests workflow, CodeQL, Developer Certificate of Origin, and contributor license agreement checks.
git diff --check origin/main...origin/shipright/BMEM-71reports no errors.
Next: update the manual text on this branch, keep the checks green, remove review:questions during the author hand-back, and request another review.
…osted manual pages Addresses review feedback on #1987 pages: bm_review suggest accepts body as the reason (saved as first reply), and bm_project usage defaults since to the current billing period. Signed-off-by: Drew Cain <groksrc@gmail.com>
groksrc
left a comment
There was a problem hiding this comment.
Review verdict: no blocking findings
Pull request #1995 now satisfies the documented scope for public issue #1987. The two required corrections are present: bm-review(3) explains how body supplies a suggestion reason, and bm-project(3) explains the hosted usage default for since.
Verified
- The pull request changes only the six intended files.
- The
bm-log(3),bm-open(3), andbm-review(3)frontmatter is correct. - Every documented hosted-tool parameter name and default matches the current hosted definitions, excluding
context. PAGES_WITHOUT_LOCAL_TOOLScontains the expected six hosted-only tools.- The registry-owned
bm-project(3)SYNOPSIS and PARAMETERS blocks are unchanged. - The hosted-only DESCRIPTION covers
info,usage,until,group_by,customer, and the billing-period default forsince. docs/manual-pages.mdnames all three new Cloud-registered tools in each relevant section.uv run pytest tests/test_man_pages.pypasses locally: 59 tests passed.- All 52 GitHub checks pass at commit
5f67b6a85e78170458f914547aea44a9fd8dcb3d. git diff --check origin/main...origin/shipright/BMEM-71reports no errors.- The documentation-only change and hosted-page exception entries introduce no security-sensitive behavior.
Next: the maintainer can proceed with the normal merge and release process. The hosted server will receive these pages after it updates its core-package pin to a release that contains this change.
Summary
Adds manual pages for the three tools only the hosted Basic Memory Cloud server registers, and documents the hosted-only
bm_projectcommands. Fixes #1987:bm_man(page="bm_log")returned NOT_FOUND on the hosted server.bm-log(3),bm-open(3),bm-review(3), followingbm-agent(3)(generated: hand).bm_log,bm_open,bm_reviewadded toPAGES_WITHOUT_LOCAL_TOOLSintests/test_man_pages.py.bm-project(3): new hosted-only paragraph in DESCRIPTION forinfo,usage,until,group_by,customer. SYNOPSIS and PARAMETERS are untouched (registry-owned).docs/manual-pages.mdlists the new Cloud-registered tools.The hosted server shows the pages only after it updates its
basic-memorypin to a release containing this change.Parameter parity (page PARAMETERS vs hosted tool signature,
contextexcluded)bm_log: since, event_types=(), cursor, limit=50, full=False, project — all present.bm_open: view="notes", path, identifier, query, graph_mode="overview", note_mode="view", project — all present.bm_review: identifier, command, project (required); anchor, body, suggestion_kind, replacement, review_id, expected_checksum (default None) — all present.Testing
uv run pytest tests/test_man_pages.py— 59 passed locally. Examples come from the hosted tool's source and tests; no output is shown that was not produced by a real call.🤖 Generated with Claude Code